package com.ltkj.baseplatform.domain.bo;

import com.ltkj.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * 综合推荐分类对象 home_recommend_type
 * 
 * @author liupf
 * @date 2023-09-01
 */
@ApiModel(value = "综合推荐分类")
public class HomeRecommendTypeBo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 类型名称 */

    @ApiModelProperty(value = "类型名称",required = true)
    @NotBlank(message = "类型名称不能为空!")
    private String typeName;

    /** 上级id */
    @ApiModelProperty("上级id")
    private Long parentId;

    /** 跳转类型(0,小程序页面；1,url) */
    @ApiModelProperty("跳转类型(0,小程序页面；1,url；默认0)")
    private Integer linkType;

    /** 跳转链接 */
    @ApiModelProperty("跳转链接")
    private String linkAddr;

    /** 排序 */
    @ApiModelProperty("排序")
    private Long sortNum;

    /** 是否删除 */
    @ApiModelProperty("是否删除")
    private String isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setLinkType(Integer linkType) 
    {
        this.linkType = linkType;
    }

    public Integer getLinkType() 
    {
        return linkType;
    }
    public void setLinkAddr(String linkAddr) 
    {
        this.linkAddr = linkAddr;
    }

    public String getLinkAddr() 
    {
        return linkAddr;
    }
    public void setSortNum(Long sortNum) 
    {
        this.sortNum = sortNum;
    }

    public Long getSortNum() 
    {
        return sortNum;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }
}
